package com.demo.service;

import com.demo.entity.Carousel;
import com.demo.entity.Category;
import com.demo.entity.Product;

import java.util.List;

public interface ProductService {
    List<Product> findAllProduct();

    List<Product> findProductByCategoryId(Integer categoryId);

    List<Category> findAllCategory();

    int insertProduct(Product product);

    int updateProductPicture(int productId,List<String> productPicture);

    Product findProductById(Integer productId);

    int updateProduct(Product product);

    int deleteProductById(Integer productId);
}
